package cn.jx.cjm.payment.wechat.v2.dto.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author James Chen right_way@foxmail.com
 * @version 1.0
 * <p>
 *
 * </p>
 * @since 2020/11/2 12:51
 */
@Data
public class RefundRequest {

    /**
     * length: (64)	1217752501201407033233368018 ; 商户系统内部的退款单号，商户系统内部唯一，只能是数字、大小写字母_-|*@ ，同一退款单号多次请求只退一笔。
     **/
    @ApiModelProperty(value = "商户退款单号", dataType = "String", required = true)
    private String out_refund_no;


    /**
     * length: 	100 ; 订单总金额，单位为分，只能为整数，详见支付金额
     **/
    @ApiModelProperty(value = "订单金额", dataType = "String", required = true)
    private Integer total_fee;


    /**
     * length: 	100 ; 退款总金额，订单总金额，单位为分，只能为整数，详见支付金额
     **/
    @ApiModelProperty(value = "退款金额", dataType = "String", required = true)
    private Integer refund_fee;
}
